package com.smart.community.parking.controller;

import com.smart.community.commons.result.Result;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 停车管理测试控制器
 * 
 * @author Wu.Liang
 * @since 2024-12-21
 */
@Slf4j
@RestController
@RequestMapping("/parking/test")
@Tag(name = "停车管理测试", description = "停车管理服务测试接口")
public class TestController {

    /**
     * 测试接口
     */
    @GetMapping("/hello")
    @Operation(summary = "测试接口", description = "测试停车管理服务是否正常启动")
    public Result<String> hello() {
        log.info("停车管理服务测试接口被调用");
        return Result.success("停车管理服务启动成功！");
    }
} 